[Spce-user] Incoming DID not being passed to Subscriber (Asterisk) on SPCE - coming up as s at xxx.xxx.xxx.xxx
Bob Fryer
bob at netintegrity.com.au
Sun Feb 16 06:35:56 EST 2014
Daniel,
Such a simple thing to miss (I probably read it - the hint that is), but didn't attribute it to the issue.
Immediately after the change was made, we have the DID coming in.
-- Executing [02710275000 at from-trunk-sip-BPSIP:1] Set("SIP/BPSIP-000002cd", "GROUP()=OUT_2") in new stack
-- Executing [0271027500 at from-trunk-sip-BPSIP:2] Goto("SIP/BPSIP-000002cd", "from-trunk, 0271027500,1") in new stack
-- Goto (from-trunk, 0271027500,1)
-- Executing [0271027500 at from-trunk:1] NoOp("SIP/BPSIP-000002cd", "Catch-All DID Match - Found 0271027500 - You probably want a DID for this.") in new stack
-- Executing [0271027500 at from-trunk:2] Goto("SIP/BPSIP-000002cd", "ext-did,s,1") in new stack
Now we can set the DID's and use them.
Thank you again Daniel for your quick, succinct, but very valuable and perfect reply.
Regards
Bob
-----Original Message-----
From: Daniel Grotti [mailto:dgrotti at sipwise.com]
Sent: Sunday, 16 February 2014 8:01 PM
To: Bob Fryer
Cc: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Incoming DID not being passed to Subscriber (Asterisk) on SPCE - coming up as s at xxx.xxx.xxx.xxx
Hi,
Did you try to set e164_to_ruri?
Daniel
Bob Fryer <bob at netintegrity.com.au> wrote:
>Dear List,
>
>First of all let me state that the SIPWise product is really fantastic.
>5 months 100% uptime - really impressive. CDR's working well.
>Rewrite rules fully understood and working. I believe we have a
>reasonable handle on the product. Still on Sipwise 2.8 - stock standard
>install (e.g. no changes or additions in terms of other software)
>
>We have been primarily using it for outgoing for all accounts except
>one, ourselves, and incoming has been working with no major issues for
>a few months (we only use one incoming number). We knew since the time
>we started with incoming that there was a fault in terms of the
>incoming number was not passing the incoming DID to the Asterisk PBX.
>So if we to use the following "diagram" we are calling from a Mobile
>0418181818, and calling the number 0271027500. We have spent a great
>deal of time ourselves to diagnose the issue, but we have been unsuccessful.
>
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Call from Mobile | ----> SIPWISE | ------> Asterisk PBX
>0418181818 | 113.99.10.86 | 113.99.10.83
>Calling | AKA sip.company.com.au |
>0271027500 | 0271027500 setup as |
> E.164 Number |
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>The CLID and the DID (Called Number) are passed all the way from our
>carrier, through SIPWISE (e.g. the CDR records and logs in SIPWISE show
>the DID and CLID correctly), but it does not pass through to the
>Asterisk PBX.
>
>As you can see in the Asterisk log below, the DID appears to be not
>coming through. The SIP Header (captured on the Asterisk PBX) from the
>SIPWISE system shows
>
>From : <sip:0418181818 at sip.company.com.au>
>To: <sip:s at sip.company.com.au>
>
>And as you can see, this is coming through to the Asterisk system as
>"S", instead of the DID (incoming number).
>
>As you can see from the Kamailio log, it the incoming DID (0271027500 -
>E164-61271027500) seems to be recognised all the way through, but does
>not get to the Asterisk PBX.
>
>The Asterisk PBX is registered to the SIPWISE account successfully, so
>no issues there
>
>elastixUCSho*CLI> sip show registry
>Host dnsmgr Username Refresh
>State Reg.Time
>sip.company.com.au:5060 N 12501100 105
>Registered Sun, 16 Feb 2014 16:05:20
>
>Any help or direction on looking to resolve this, if you need captures
>or other logs, will be happy to provide.
>
>Regards
>
>Bob
>
>
>
>kamilio-proxy log
>=================
>
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: New
>request - M=INVITE R=sip:0271027500 at 113.99.10.86:5060
>F=sip:0418181818 at 113.99.10.83 T=sip:0271027500 at 113.99.10.86:5060
>IP=113.99.10.83:5060 (127.0.0.1:5060)
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: Call
>from PSTN - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: Load
>peer preferences for peer host '6' - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: Load
>dialplan IDs for peer host '6' - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Fetched dialplan IDs caller_in='5', callee_in='6' -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: Use
>'P-NGCP-Src-Ip' for CDR IP - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Dialog set mark total - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Dialog set mark peer to '6' - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: IP
>authorization for caller not provisioned, allow call -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>User-Provided CLI '0418181818' taken from From-User -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Network-Provided CLI '0418181818' taken from From-User -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Applying caller-in peer rewrite rules on user-provided CLI using dpid
>'5' - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Rewriting user-provided CLI '0418181818' to '61418181818' -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Applying caller-in peer rewrite rules on network-provided CLI using
>dpid '5' - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Rewriting network-provided CLI '0418181818' to '61418181818' -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Setting '61418181818 at 113.99.10.83' as initiating user-provided CLI -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Setting '61418181818 at 113.99.10.83' as initiating network-provided CLI -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Searching for callee - R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Applying callee-in peer rewrite rules using dpid '6' -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Rewriting callee '0271027500' to '61271027500' -
>R=sip:0271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Skipping internal services for unauthenticated call -
>R=sip:61271027500 at 113.99.10.86:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Callee was aliased with base '61271027500' -
>R=sip:12501100 at sip.company.com.au:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>: Clear
>callee preferences - R=sip:12501100 at sip.company.com.au:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>Feb 15 16:16:52 bpsip01 /usr/sbin/kamailio[2362]: INFO: <script>:
>Callee is local, uuid='f3882219-9937-43c1-8717-6826977e4cb4' -
>R=sip:12501100 at sip.company.com.au:5060
>ID=4e879911731d41c0355b7f506d819aae at 113.99.10.83:5060
>
>Asterisk PBX log (Incoming call)
>================================
>
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at from-trunk-sip-BPSIP:1] Set("SIP/BPSIP-000002be", "GROUP()=OUT_2")
>in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at from-trunk-sip-BPSIP:2] Goto("SIP/BPSIP-000002be", "from-trunk,s,1")
>in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Goto
>(from-trunk,s,1)
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at from-trunk:1] Set("SIP/BPSIP-000002be", "__FROM_DID=s") in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at from-trunk:2] Gosub("SIP/BPSIP-000002be", "app-blacklist-check,s,1")
>in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at app-blacklist-check:1] GotoIf("SIP/BPSIP-000002be", "0?blacklisted")
>in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at app-blacklist-check:2] Set("SIP/BPSIP-000002be",
>"CALLED_BLACKLIST=1") in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at app-blacklist-check:3] Return("SIP/BPSIP-000002be", "") in new stack
>[Feb 15 16:16:52] VERBOSE[20549][C-000000d2] pbx.c: -- Executing
>[s at from-trunk:3] ExecIf("SIP/BPSIP-000002be", "1
>?Set(CALLERID(name)=0418181818)") in new stack
>
>_______________________________________________
>Spce-user mailing list
>Spce-user at lists.sipwise.com
>http://lists.sipwise.com/listinfo/spce-user
More information about the Spce-user
mailing list