[Spce-user] SBC > asterisk
Theo
axessofficetheo at gmail.com
Tue Apr 21 14:09:50 EDT 2015
Hi
We use an instance of 2.8 solely for registering extensions to asterisk
PBXs. One of the issues we have is the "call pick up" feature of asterisk
(so when a phone in a particular group rings, you can retrieve it from
another phone).
Asterisk uses *8 for this which clashes with the service code trigger in
sipwise. I have solved that by simply asking clients to use **8 and changed
the code in asterisk to that, or where we can't rewrite it to *8.
On calls coming in from outside this work. So call comes into asterisk from
another source, and rings at extension 123, we can pick that up from
another extension. However, once that call is transferred, we can no longer
retrieve it.Likewse on calls from extension to extension we cannot retrieve
it. The difference I guess is that in the first instance the call is not
initiated by the sipwise user, whereas it is in the 2 other examples.
Upon dialling **8 sipwise gives a 403 forbidden. kamailio log attached
I am sure it's staring me in the face but am just not seeing it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20150421/882cac28/attachment.html>
-------------- next part --------------
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5742]: INFO: <script>: New request - M=INVITE R=sip:**8 at domain.at.sipwise;user=phone F=sip:m0Nt5u709 at domain.at.sipwise T=sip:**8 at domain.at.sipwise;user=phone IP=196.25.4.250:2048 (127.0.0.1:5060) ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5742]: INFO: <script>: Authentication failed, no credentials - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: New request - M=INVITE R=sip:**8 at domain.at.sipwise;user=phone F=sip:m0Nt5u709 at domain.at.sipwise T=sip:**8 at domain.at.sipwise;user=phone IP=196.25.4.250:2048 (127.0.0.1:5060) ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Clear caller preferences - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Load caller preferences for uuid '4becd120-1196-4fa2-a47b-9526a443351e' and domain part of uri 'sip:m0Nt5u709 at domain.at.sipwise' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Load dialplan IDs for domain 'sip:m0Nt5u709 at domain.at.sipwise' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Fetched dialplan IDs caller_in='217', callee_in='218' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Use 'P-NGCP-Src-Ip' for CDR IP - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Dialog set total - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Dialog set user, userout, account, accountout to '4becd120-1196-4fa2-a47b-9526a443351e/22' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: IP authorization for caller not provisioned, allow call - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: User-Provided CLI 'm0Nt5u709' taken from From-User - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Applying caller-in domain rewrite rules on user-provided CLI using dpid '217' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No matching rewrite rules for 'm0Nt5u709' found - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Checking User-provided CLI against allowed CLIs - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: User-provided CLI 'm0Nt5u709' rejected, using network-provided CLI '709' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting '709 at domain.at.sipwise' as initiating user-provided CLI - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting '709 at domain.at.sipwise' as initiating network-provided CLI - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Searching for callee - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Applying callee-in domain rewrite rules using dpid '218' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Rewriting callee '**8' to '*8' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Clear callee preferences - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Callee is not local - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Check Administrative NCOS level - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Check User NCOS level - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Checking URI '*8 at domain.at.sipwise' and CLI '*8' against block out lists - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Admin caller block mode is 'open' - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Caller block mode is 'open' - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Call to SIP Peering - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Load gws matching calling part 'sip:709 at domain.at.sipwise' and called user '*8' and called part 'sip:*8 at domain.at.sipwise;user=phone' - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Dialog set mark type to outgoing - R=sip:*8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Load peer preferences for peer host '44' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Load dialplan IDs for peer host '44' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Fetched dialplan IDs caller_out='207', callee_out='208' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Dialog set mark peer and peerout to '44' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting acc source-leg for uuid '4becd120-1196-4fa2-a47b-9526a443351e': '4becd120-1196-4fa2-a47b-9526a443351e|m0Nt5u709|domain.at.sipwise|709||1|22|709|pbx.domainname|0|call|196.25.4.250|1429627985.976808' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting acc destination-leg for uuid '0': '0|||<null>|**8|0|*8|pbx.ip.add.ress|*8|domain.at.sipwise' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: ++++ From header is set to 'sip:m0Nt5u709 at domain.at.sipwise' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Relaying request, du='<null>' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Use mediaproxy for forward direction for IPv4/IPv4 - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Remove existing ICE candidates (if any) for callee - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting P-Caller-UUID to '4becd120-1196-4fa2-a47b-9526a443351e' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting P-Callee-UUID to '0' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Overruling peer auth user by caller value '709' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Overruling peer auth pass by caller value 'N^B1#Tz2!5jkbN%' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Overruling peer auth realm by caller value 'pbx.domainname' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Adding peer authentication header P-App-Param with 'u=709;d=pbx.domainname;p=N^B1#Tz2!5jkbN%' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Sessions Timers disabled for caller - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Sessions Timers disabled for callee - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Applying caller-out peer rewrite rules to first user-provided caller CLI using dpid '207' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No matching rewrite rules for '709' found - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Applying caller-out peer rewrite rules to first network-provided caller CLI using dpid '207' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No matching rewrite rules for '709' found - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Prepare From display-name setting - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No selector set, not setting CLI - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting From to '<sip:709 at pbx.domainname>' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Prepare PAI username setting - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting caller_cli_netprov/caller_domain_netprov '709 at domain.at.sipwise' for npn - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting PAI to '<sip:709 at domain.at.sipwise>' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Prepare PPI username setting - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No selector set, not setting CLI - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Prepare Diversion setting - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No selector set, not setting CLI - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Applying callee-out peer rewrite rules to called party using dpid '208' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: No matching rewrite rules for '*8' found - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting P-Called-Party-ID '<sip:*8 at pbx.ip.add.ress>' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Writing sbc parameters ;u=709;d=pbx.domainname;p=N^B1#Tz2!5jkbN%;aleg_sst_enable=no;sst_enable=no - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting R-URI using peer auth realm '*8 at pbx.domainname' - R=sip:*8 at pbx.ip.add.ress:5060;transport=udp ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Setting 'sip:pbx.domainname:5060' taken from R-URI as next hop after lb for PSTN call - R=sip:*8 at pbx.domainname ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Appending P-D-URI 'sip:127.0.0.1:5060;received=sip:pbx.domainname:5060' - R=sip:*8 at pbx.domainname ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:*8 at pbx.domainname ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5739]: INFO: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:*8 at pbx.domainname ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5737]: INFO: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=196.25.4.250:2048 (127.0.0.1:5080) ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: NAT-Reply - S=403 - Forbidden M=INVITE IP=196.25.4.250:2048 (127.0.0.1:5080) ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: Failure route for PSTN call - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: Unset dialog mark peer and peerout '44' - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: Filter reply code - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: No failover routing needed for this response code - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:05 sipwise /usr/sbin/kamailio[5738]: INFO: <script>: Stop mediaproxy for current branch using first Via - R=sip:**8 at domain.at.sipwise;user=phone ID=3c293985c4f6-nyz01ggg8qjn
Apr 21 16:53:06 sipwise /usr/sbin/kamailio[5741]: INFO: <script>: New request - M=ACK R=sip:**8 at domain.at.sipwise;user=phone F=sip:m0Nt5u709 at domain.at.sipwise T=sip:**8 at domain.at.sipwise;user=phone IP=196.25.4.250:2048 (127.0.0.1:5060) ID=3c293985c4f6-nyz01ggg8qjn
More information about the Spce-user
mailing list