lionel Posted July 8, 2013 Report Share Posted July 8, 2013 hi, i've a problem with My sip gateway's provider who use a communigate server. when i call another phone who use the same provider and the called phone try to transfer call, my snomone receive a refer from communigate like this: REFER sip:trunk@1.1.1.1:5060;transport=udp;maddr=1.1.1.1 SIP/2.0Via: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK927820-jizasgv;cgp=fai.fr;rportP-CGP-Identity: grp_csctechnique@fai.euMax-Forwards: 70From: <sip:0101010101@myname.fai.eu>;tag=3017C508-247538-F740CEED_jizasgv-7039To: "0202020202" <sip:trunk@myname.fai.eu>;tag=8371Call-ID: 1fbd8d80@pbxContact: <sip:signode-247538-F740CEED_jizasgv-7039@2.2.2.2>from communigateCSeq: 1 REFERRefer-To: <sip:fwd_grp_csctechdebordement@fai.eu>Referred-By: <sip:0101010101@myname.fai.eu>;tag=3017C508-247538-F740CEED_jizasgv-7039User-Agent: CommuniGatePro-callLeg/5.4.3Refer-Cookie: 0Content-Length: 0[9] 20130708154717: Resolve 69689: aaaa udp 2.2.2.2 5060[9] 20130708154717: Resolve 69689: a udp 2.2.2.2 5060[9] 20130708154717: Resolve 69689: udp 2.2.2.2 5060[5] 20130708154717: SIP Tx udp:2.2.2.2:5060:SIP/2.0 202 AcceptedVia: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK927820-jizasgv;cgp=fai.fr;rport=5060From: <sip:0101010101@myname.fai.eu>;tag=3017C508-247538-F740CEED_jizasgv-7039To: "0202020202" <sip:trunk@mayname.fai.eu>;tag=8371Call-ID: 1fbd8d80@pbxCSeq: 1 REFERContact: <sip:trunk@1.1.1.1:5060;transport=udp>User-Agent: snomONE/5.0.5Content-Length: 0 But my snomone refuse this transfer and the communication close. I've this message from my snomone juste after the previous REFER message. [5] 20130708154717: Redirecting call to fwd_grp_csctechdebordement[5] 20130708154717: REFER without a valid extension is not accepted on trunk 2 28[8] 20130708154717: call port 316: state code from 200 to 486[9] 20130708154717: Resolve 69690: url sip:2.2.2.2:5060;lr[9] 20130708154717: Resolve 69690: udp 2.2.2.2 5060[5] 20130708154717: SIP Tx udp:2.2.2.2:5060:BYE sip:signode-247538-F740CEED_jizasgv-7039@2.2.2.2 SIP/2.0Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK-63aaa6edf966bb591d41b190f31c54ba;rportRoute: <sip:2.2.2.2:5060;lr>Route: <sip:1.1.1.2:5060;lr>Route: <sip:41051517-1.1.1.2.dialog.cgatepro;lr>From: "0202020202" <sip:trunk@myname.fai.eu>;tag=8371To: <sip:0101010101@myname.fai.eu>;tag=3017C508-247538-F740CEED_jizasgv-7039Call-ID: 1fbd8d80@pbxCSeq: 12281 BYEMax-Forwards: 70Contact: <sip:trunk@1.1.1.1:5060;transport=udp>P-Asserted-Identity: "trunk name" <sip:trunk@myname.fai.eu>Remote-Party-ID: "lastname firstname" <sip:0202020202@pbx2.mydomain;user=phone>P-Charging-Vector: icid-value=;icid-generated-at=178.255.164.213;orig-ioi=pbx2.mydomainAuthorization: Digest realm="fai.fr",nonce="243F307A82B9FB4F930B",response="7309a8112abbd0ae48c3c633df1ce1f5",username="trunk",uri="sip:signode-247538-F740CEED_jizasgv-7039@2.2.2.2",qop="auth",nc=00000003,cnonce="a71d51c5",opaque="opaq",algorithm=MD5Content-Length: 0 My provider can't change his configuration. How can modify snomone to resolve this problem. I don't want to allow tranfer on my trunk, or olny for one domain name like "fai.fr." Best regards Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 8, 2013 Report Share Posted July 8, 2013 Did you try the setting "Accept REFER" in the SIP trunk? Depending on your version, you will see a setting "assume that call comes from extension" where you need to put an extension number in that will be charged for the call. Quote Link to comment Share on other sites More sharing options...
lionel Posted July 8, 2013 Author Report Share Posted July 8, 2013 It was what i don't want to do. Only if i can accept refer only for a list of domain like "fai.fr mydomain etc" i want not accept abuse refer demand. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 8, 2013 Report Share Posted July 8, 2013 If the trunk is in the domain, then it will be only in the domain. For global trunks, REFER will be always accepted no matter where the trunk ends up Quote Link to comment Share on other sites More sharing options...
lionel Posted July 9, 2013 Author Report Share Posted July 9, 2013 Ok, i confirme what i've understood. For trunk with my provider, i must declare it like a global and accept redirect. Obviously i've one domain. No risk to be billed by my provider for bad redirection? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 9, 2013 Report Share Posted July 9, 2013 No risk to be billed by my provider for bad redirection? There is a risk. You must trust your provider, and you must also potentially trust the termination providers that he is using (REFER can be sent through them if they don't filter them out). There is a reason why this setting is "off" by default. usually you need it only for internal equipment. Originally we introduced it for Microsoft Speed Server that always wanted to refer the calls to another location. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.