[Spce-user] Trunk to voicetrading configuration

Andreas Granig agranig at sipwise.com
Fri Feb 5 11:12:01 EST 2016


Hi,

>From the trace you provided, it seems your request just times out, as
there is no reply at all from your peer. No idea if they do this because
you're not sending the 00000 prefix you mentioned.

Create a new rewrite rule set and put a rule like "^(.+)$" => "00000\1"
into the outbound callee rule and assign this rule set in the peer
preferences of your configured peering server.

Please read carefully the handbook provided with the CE installation,
specifically the configuration of peerings and peering rules.

Andreas

On 02/05/2016 03:59 PM, Jephthé Feugné wrote:
> Hello,
> I've been trying for weeks to have my trunk to voicetrading working with
> no success. I also tried a sip trunk to my GSM gateway with the same
> result. No ringing to the calle side, and no sound no ringing tone by
> the caller side.
> 
> Can some one please can help me solve this problem?
> 
> Here is what I have during call with the command "ngrep sip" executed on
> the sipwise CE 4.2.1  server. Voicetrading is  expecting for premium
> route on their side, the number to be perpended with "00000",
> xx.xx.xx.250 is the IP address of my sipwise CE 4.2.1 server:
> 
> 
> XX.XX.XX.250:5060 -> 77.72.169.129:5060
>   INVITE sip:00492271993120 at 77.72.169.129:5060;transport=udp
> SIP/2.0..Record-Route:
> <sip:XX.XX.XX.250;r2=on;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Record-Route:
> <sip:127.0.0.1;r2=on
>   ;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Via:
> SIP/2.0/UDP
> XX.XX.XX.250;branch=z9hG4bKd906.5531f5d10bd0fe3667091afe519d5f94.0..Via:
> SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;bra
>   nch=z9hG4bKZ7GCaaKk;rport=5080..From: "41225017077"
> <sip:41225017077 at sip.adoovoice.com>;tag=0F8733E5-56B4B7B700066935-870F0700..To:
> <sip:00492271993120 at 77.72.169.129>..CSeq: 11 INVITE..Call-ID: 222572
>   206 at 10.20.12.202_b2b-1..Max-Forwards: 69..Allow: INVITE, PRACK, ACK,
> BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE,
> MESSAGE..Supported: replaces,100rel..P-Asserted-Identity: <sip:
>   41225017077 at sip.adoovoice.com>..Authorization: Digest
> username="pbxprisnet", realm="sip.adoovoice.com", nonce="2231175255",
> uri="sip:00492271993120 at 77.72.169.129:5060;transport=udp",
> response="dac6cac
>   8d25100ee03560bab867ba1be", algorithm=MD5..Content-Type:
> application/sdp..Content-Length: 265..Contact:
> <sip:ngcp-lb at XX.XX.XX.250:5060;ngcpct=7369703a3132372e302e302e313a35303830>....v=0..o=-
> 20036 2
>   0036 IN IP4 10.164.124.97..s=SDP data..c=IN IP4 213.55.176.206..t=0
> 0..m=audio 11852 RTP/AVP 0 8 9 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8
> PCMA/8000..a=rtpmap:9 G722/8000..a=rtpmap:101 telephone-event/8
>   000..a=sendrecv..a=ptime:20..a=direction:active..
> #####################
> U XX.XX.XX.250:5060 -> 77.72.169.129:5060
>   INVITE sip:00492271993120 at 77.72.169.129:5060;transport=udp
> SIP/2.0..Record-Route:
> <sip:XX.XX.XX.250;r2=on;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Record-Route:
> <sip:127.0.0.1;r2=on
>   ;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Via:
> SIP/2.0/UDP
> XX.XX.XX.250;branch=z9hG4bKd906.5531f5d10bd0fe3667091afe519d5f94.0..Via:
> SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;bra
>   nch=z9hG4bKZ7GCaaKk;rport=5080..From: "41225017077"
> <sip:41225017077 at sip.adoovoice.com>;tag=0F8733E5-56B4B7B700066935-870F0700..To:
> <sip:00492271993120 at 77.72.169.129>..CSeq: 11 INVITE..Call-ID: 222572
>   206 at 10.20.12.202_b2b-1..Max-Forwards: 69..Allow: INVITE, PRACK, ACK,
> BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE,
> MESSAGE..Supported: replaces,100rel..P-Asserted-Identity: <sip:
>   41225017077 at sip.adoovoice.com>..Authorization: Digest
> username="pbxprisnet", realm="sip.adoovoice.com", nonce="2231175255",
> uri="sip:00492271993120 at 77.72.169.129:5060;transport=udp",
> response="dac6cac
>   8d25100ee03560bab867ba1be", algorithm=MD5..Content-Type:
> application/sdp..Content-Length: 265..Contact:
> <sip:ngcp-lb at XX.XX.XX.250:5060;ngcpct=7369703a3132372e302e302e313a35303830>....v=0..o=-
> 20036 2
>   0036 IN IP4 10.164.124.97..s=SDP data..c=IN IP4 213.55.176.206..t=0
> 0..m=audio 11852 RTP/AVP 0 8 9 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8
> PCMA/8000..a=rtpmap:9 G722/8000..a=rtpmap:101 telephone-event/8
>   000..a=sendrecv..a=ptime:20..a=direction:active..
> #######################
> U XX.XX.XX.250:5060 -> 77.72.169.129:5060
>   INVITE sip:00492271993120 at 77.72.169.129:5060;transport=udp
> SIP/2.0..Record-Route:
> <sip:XX.XX.XX.250;r2=on;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Record-Route:
> <sip:127.0.0.1;r2=on
>   ;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Via:
> SIP/2.0/UDP
> XX.XX.XX.250;branch=z9hG4bKd906.5531f5d10bd0fe3667091afe519d5f94.0..Via:
> SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;bra
>   nch=z9hG4bKZ7GCaaKk;rport=5080..From: "41225017077"
> <sip:41225017077 at sip.adoovoice.com>;tag=0F8733E5-56B4B7B700066935-870F0700..To:
> <sip:00492271993120 at 77.72.169.129>..CSeq: 11 INVITE..Call-ID: 222572
>   206 at 10.20.12.202_b2b-1..Max-Forwards: 69..Allow: INVITE, PRACK, ACK,
> BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE,
> MESSAGE..Supported: replaces,100rel..P-Asserted-Identity: <sip:
>   41225017077 at sip.adoovoice.com>..Authorization: Digest
> username="pbxprisnet", realm="sip.adoovoice.com", nonce="2231175255",
> uri="sip:00492271993120 at 77.72.169.129:5060;transport=udp",
> response="dac6cac
>   8d25100ee03560bab867ba1be", algorithm=MD5..Content-Type:
> application/sdp..Content-Length: 265..Contact:
> <sip:ngcp-lb at XX.XX.XX.250:5060;ngcpct=7369703a3132372e302e302e313a35303830>....v=0..o=-
> 20036 2
>   0036 IN IP4 10.164.124.97..s=SDP data..c=IN IP4 213.55.176.206..t=0
> 0..m=audio 11852 RTP/AVP 0 8 9 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8
> PCMA/8000..a=rtpmap:9 G722/8000..a=rtpmap:101 telephone-event/8
>   000..a=sendrecv..a=ptime:20..a=direction:active..
> #########################################
> U XX.XX.XX.250:5060 -> 77.72.169.129:5060
>   INVITE sip:00492271993120 at 77.72.169.129:5060;transport=udp
> SIP/2.0..Record-Route:
> <sip:XX.XX.XX.250;r2=on;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Record-Route:
> <sip:127.0.0.1;r2=on
>   ;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Via:
> SIP/2.0/UDP
> XX.XX.XX.250;branch=z9hG4bKd906.5531f5d10bd0fe3667091afe519d5f94.0..Via:
> SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;bra
>   nch=z9hG4bKZ7GCaaKk;rport=5080..From: "41225017077"
> <sip:41225017077 at sip.adoovoice.com>;tag=0F8733E5-56B4B7B700066935-870F0700..To:
> <sip:00492271993120 at 77.72.169.129>..CSeq: 11 INVITE..Call-ID: 222572
>   206 at 10.20.12.202_b2b-1..Max-Forwards: 69..Allow: INVITE, PRACK, ACK,
> BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE,
> MESSAGE..Supported: replaces,100rel..P-Asserted-Identity: <sip:
>   41225017077 at sip.adoovoice.com>..Authorization: Digest
> username="pbxprisnet", realm="sip.adoovoice.com", nonce="2231175255",
> uri="sip:00492271993120 at 77.72.169.129:5060;transport=udp",
> response="dac6cac
>   8d25100ee03560bab867ba1be", algorithm=MD5..Content-Type:
> application/sdp..Content-Length: 265..Contact:
> <sip:ngcp-lb at XX.XX.XX.250:5060;ngcpct=7369703a3132372e302e302e313a35303830>....v=0..o=-
> 20036 2
>   0036 IN IP4 10.164.124.97..s=SDP data..c=IN IP4 213.55.176.206..t=0
> 0..m=audio 11852 RTP/AVP 0 8 9 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8
> PCMA/8000..a=rtpmap:9 G722/8000..a=rtpmap:101 telephone-event/8
>   000..a=sendrecv..a=ptime:20..a=direction:active..
> #################################################################################
> 
> U XX.XX.XX.250:5060 -> 77.72.169.129:5060
>   INVITE sip:00492271993120 at 77.72.169.129:5060;transport=udp
> SIP/2.0..Record-Route:
> <sip:XX.XX.XX.250;r2=on;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Record-Route:
> <sip:127.0.0.1;r2=on
>   ;lr=on;ftag=0F8733E5-56B4B7B700066935-870F0700;ngcplb=yes>..Via:
> SIP/2.0/UDP
> XX.XX.XX.250;branch=z9hG4bKd906.5531f5d10bd0fe3667091afe519d5f94.0..Via:
> SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;bra
>   nch=z9hG4bKZ7GCaaKk;rport=5080..From: "41225017077"
> <sip:41225017077 at sip.adoovoice.com>;tag=0F8733E5-56B4B7B700066935-870F0700..To:
> <sip:00492271993120 at 77.72.169.129>..CSeq: 11 INVITE..Call-ID: 222572
>   206 at 10.20.12.202_b2b-1..Max-Forwards: 69..Allow: INVITE, PRACK, ACK,
> BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, PUBLISH, UPDATE,
> MESSAGE..Supported: replaces,100rel..P-Asserted-Identity: <sip:
>   41225017077 at sip.adoovoice.com>..Authorization: Digest
> username="pbxprisnet", realm="sip.adoovoice.com", nonce="2231175255",
> uri="sip:00492271993120 at 77.72.169.129:5060;transport=udp",
> response="dac6cac
>   8d25100ee03560bab867ba1be", algorithm=MD5..Content-Type:
> application/sdp..Content-Length: 265..Contact:
> <sip:ngcp-lb at XX.XX.XX.250:5060;ngcpct=7369703a3132372e302e302e313a35303830>....v=0..o=-
> 20036 2
>   0036 IN IP4 10.164.124.97..s=SDP data..c=IN IP4 213.55.176.206..t=0
> 0..m=audio 11852 RTP/AVP 0 8 9 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8
> PCMA/8000..a=rtpmap:9 G722/8000..a=rtpmap:101 telephone-event/8
>   000..a=sendrecv..a=ptime:20..a=direction:active..
> ############################################################################
> 
> 
> Thank you for your help
> 
> Jephthé Feugné
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user



More information about the Spce-user mailing list