[OpenSIPS-Users] Local call

michel freiha michofr at gmail.com
Thu Jan 29 11:55:32 CET 2009


Dear Bogdan,

Sorry to bother you but I need to fix this matter...When trying to call
123456 I got the following message:
5:41 [19771] DBG:core:get_hdr_field: to body ["mmm"<
sip:123456 at 80.169.210.140 <sip%3A123456 at 80.169.210.140>>
]
Jan 29 12:45:41 [19771] DBG:uri:has_totag: no totag
Jan 29 12:45:41 [19771] DBG:core:parse_headers: flags=78
Jan 29 12:45:41 [19771] DBG:core:get_hdr_field: cseq <CSeq>: <1> <SUBSCRIBE>
Jan 29 12:45:41 [19771] DBG:tm:t_lookup_request: start searching:
hash=45509, isACK=0
Jan 29 12:45:41 [19771] DBG:tm:matching_3261: RFC3261 transaction matched,
tid=-d8754z-de5f02108115212b-1---d8754z-
Jan 29 12:45:41 [19771] DBG:tm:t_lookup_request: REF_UNSAFE: after is 1
Jan 29 12:45:41 [19771] DBG:tm:t_lookup_request: transaction found
(T=0xb614d800)
Jan 29 12:45:41 [19771] DBG:tm:t_retransmit_reply: nothing to retransmit
Jan 29 12:45:41 [19771] DBG:tm:t_check_trans: UNREF_UNSAFE: after is 0
Jan 29 12:45:41 [19771] DBG:core:destroy_avp_list: destroying list (nil)
Jan 29 12:45:41 [19771] DBG:core:receive_msg: cleaning up
Jan 29 12:45:41 [19772] DBG:tm:utimer_routine: timer routine:7,tl=0xb614d94c
next=(nil), timeout=140700000
Jan 29 12:45:41 [19772] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0xb614d800, SUBSCRIBE ... )
Jan 29 12:45:41 [19772] DBG:tm:set_timer: relative timeout is 4000000
Jan 29 12:45:41 [19772] DBG:tm:insert_timer_unsafe: [7]: 0xb614d94c
(144700000)
Jan 29 12:45:41 [19772] DBG:tm:retransmission_handler:
retransmission_handler : done
DBG:tm:t_lookup_request: start searching: hash=49306, isACK=0
-bash: DBG:tm:t_lookup_request:: command not found
[root at registrar1 ~]# Jan 29 12:35:55 [19663] DBG:tm:matching_3261: RFC3261
transaction matching failed
-bash: Jan: command not found
[root at registrar1 ~]# Jan 29 12:35:55 [19663] DBG:tm:t_lookup_request: no
transaction foundJan 29 12:45:43 [19772] DBG:tm:utimer_routine: timer
routine:7,tl=0xb614f644 next=(nil), timeout=142500000
Jan 29 12:45:43 [19772] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0xb614f4f8, INVITE si ... )
Jan 29 12:45:43 [19772] DBG:tm:set_timer: relative timeout is 4000000
Jan 29 12:45:43 [19772] DBG:tm:insert_timer_unsafe: [7]: 0xb614f644
(146500000)
Jan 29 12:45:43 [19772] DBG:tm:retransmission_handler:
retransmission_handler : done
Jan 29 12:45:43 [19772] DBG:tm:timer_routine: timer routine:0,tl=0xb614d968
next=(nil), timeout=143
Jan 29 12:45:43 [19772] DBG:tm:final_response_handler: stop retr. and send
CANCEL (0xb614d800)
Jan 29 12:45:43 [19772] DBG:tm:t_should_relay_response: T_code=0,
new_code=408
Jan 29 12:45:43 [19772] DBG:tm:t_pick_branch: picked branch 0, code 408
Jan 29 12:45:43 [19772] DBG:tm:is_3263_failure: dns-failover test: branch=0,
last_recv=408, flags=0
Jan 29 12:45:43 [19772] DBG:tm:t_should_relay_response: trying DNS-based
failover
Jan 29 12:45:43 [19772] DBG:tm:relay_reply: branch=0, save=0, relay=0
Jan 29 12:45:43 [19772] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 29 12:45:43 [19772] DBG:core:check_via_address: params 193.227.186.146,
192.168.0.164, 0
Jan 29 12:45:43 [19772] DBG:core:_shm_resize: resize(0) called
Jan 29 12:45:43 [19772] DBG:tm:insert_timer_unsafe: [2]: 0xb614d848 (148)
Jan 29 12:45:43 [19772] DBG:tm:relay_reply: sent buf=0x819ef50: SIP/2.0
4..., shmem=0xb61517f8: SIP/2.0 4
Jan 29 12:45:43 [19772] DBG:tm:final_response_handler: done

Regards

On Wed, Jan 28, 2009 at 12:12 AM, michel freiha <michofr at gmail.com> wrote:

> Dear All,
>
> I'm using carrierroute module fro load balancing as follow:
>
>
> if(!cr_route("default", "0", "$rU", "$rU", "call_id")){
>        sl_send_reply("403", "Not Allowed");
>      } else {
>
>
>          # In cas of failure, re-route the request
>           t_on_failure("1");
>           # Relay the request to the gateway
>            t_relay();
> }
>
> Everything looks fine when making a long distance call that begin with
> 00...The issue is when making a local call to opensips, the server return
> Not Allowed...
> Can you tell me please what is missing here?
>
> Regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090129/47f33adb/attachment.htm 


More information about the Users mailing list