External SIP - SIP Calls only work from some extensions

#1
Hi all,

I have a strange problem when trying to call a SIP URI from an internal extension for a pure IP call. I'm using Trixbox 2.2.4.

I have a custom extension set up so when extension 301 is dialed by any phone, the SIP number 30132801@voipfone.co.uk is called out my normal trunk. This is just set up as
SIP/30132801@sip.voipfone.co.uk
in the dial field of custom extension in freepbx.

This works fine for some extensions, all on SNOM 300 phones but doesn't work for a number of other extensions that look to be set up exactly the same, also on SNOM 300 phones!

Turned up debug to 10 and in /var/log/asterisk/full the failed call produces the following

Code: Select all

Nov  7 11:54:30 DEBUG[4521] chan_sip.c: Outgoing Call for 30132801
Nov  7 11:54:30 DEBUG[4521] chan_sip.c: Updating call counter for outgoing call
Nov  7 11:54:30 DEBUG[3606] chan_sip.c: = Found Their Call ID: 70a2e7932624b137093ec99513d9fce3@192.168.7.4 Their Tag  Our tag: as473ece2c
Nov  7 11:54:30 DEBUG[3606] chan_sip.c: Acked pending invite 102
Nov  7 11:54:30 DEBUG[3606] chan_sip.c: Stopping retransmission on '70a2e7932624b137093ec99513d9fce3@192.168.7.4' of Request 102: Match Found
Nov  7 11:54:30 DEBUG[3606] chan_sip.c: SIP response 407 to standard invite
Nov  7 11:54:30 DEBUG[3606] chan_sip.c: Auth attempt 1 on INVITE
Nov  7 11:54:30 NOTICE[3606] chan_sip.c: Failed to authenticate on INVITE to '"STB Lab" <sip:551@192.168.7.4>;tag=as473ece2c'
Nov  7 11:54:30 DEBUG[4521] channel.c: Hanging up channel 'SIP/sip.voipfone.co.uk-b7501188'
Nov  7 11:54:30 DEBUG[4521] chan_sip.c: Hangup call SIP/sip.voipfone.co.uk-b7501188, SIP callid 70a2e7932624b137093ec99513d9fce3@192.168.7.4)
Nov  7 11:54:30 DEBUG[4521] chan_sip.c: update_call_counter(30132801) - decrement call limit counter
Nov  7 11:54:30 DEBUG[4521] chan_sip.c: Updating call counter for outgoing call
Nov  7 11:54:30 DEBUG[4521] app_dial.c: Exiting with DIALSTATUS=CONGESTION.
Nov  7 11:54:30 DEBUG[4521] app_macro.c: Executed application: Dial
Nov  7 11:54:30 DEBUG[3597] chan_sip.c: Checking device state for peer sip.voipfone.co.uk
Nov  7 11:54:30 DEBUG[4521] app_macro.c: Executed application: Macro
Nov  7 11:54:30 DEBUG[4521] pbx.c: Launching 'Set'
Nov  7 11:54:30 DEBUG[4521] app_macro.c: Executed application: Set
The successful call from another extension looks like this:

Code: Select all

Nov  7 11:59:27 DEBUG[4533] chan_sip.c: Outgoing Call for 30132801
Nov  7 11:59:27 DEBUG[4533] chan_sip.c: Updating call counter for outgoing call
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: = Found Their Call ID: 32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4 Their Tag  Our tag: as4a7a862f
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4' Request 102: Found
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: SIP response 100 to standard invite
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: = Found Their Call ID: 32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4 Their Tag as2fde60e9 Our tag: as4a7a862f
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4' Request 102: Found
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: SIP response 100 to standard invite
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: = Found Their Call ID: 32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4 Their Tag as2fde60e9 Our tag: as4a7a862f
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4' Request 102: Found
Nov  7 11:59:27 DEBUG[3606] chan_sip.c: SIP response 183 to standard invite
Nov  7 11:59:32 DEBUG[3606] chan_sip.c: = No match Their Call ID: 32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4 Their Tag as2fde60e9 Our tag: as4a7a862f
Nov  7 11:59:32 DEBUG[3606] chan_sip.c: = Found Their Call ID: 3c27f04a5f32-cvacft84ms26 Their Tag 42j7lum1ni Our tag: as7444a904
Nov  7 11:59:32 DEBUG[3606] chan_sip.c: **** Received CANCEL (14) - Command in SIP CANCEL
Nov  7 11:59:32 DEBUG[4533] channel.c: Hanging up channel 'SIP/sip.voipfone.co.uk-098cbed8'
Nov  7 11:59:32 DEBUG[4533] chan_sip.c: Hangup call SIP/sip.voipfone.co.uk-098cbed8, SIP callid 32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4)
Nov  7 11:59:32 DEBUG[4533] chan_sip.c: update_call_counter(30132801) - decrement call limit counter
Nov  7 11:59:32 DEBUG[4533] chan_sip.c: Updating call counter for outgoing call
Nov  7 11:59:32 DEBUG[4533] chan_sip.c: Acked pending invite 102
Nov  7 11:59:32 DEBUG[4533] chan_sip.c: Stopping retransmission on '32d15a701a98bd473d2d2bfb0c8fe5b2@192.168.7.4' of Request 102: Match Found
Nov  7 11:59:32 DEBUG[4533] app_dial.c: Exiting with DIALSTATUS=CANCEL.
Nov  7 11:59:32 DEBUG[3597] chan_sip.c: Checking device state for peer sip.voipfone.co.uk
Nov  7 11:59:32 DEBUG[4533] app_macro.c: Spawn extension (macro-dial,s,10) exited non-zero on 'SIP/544-b7a42b80' in macro 'dial'
Nov  7 11:59:32 VERBOSE[4533] logger.c:   == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/544-b7a42b80' in macro 'dial'
Nov  7 11:59:32 DEBUG[4533] app_macro.c: Spawn extension (macro-dial,s,10) exited non-zero on 'SIP/544-b7a42b80' in macro 'exten-vm'
Nov  7 11:59:32 VERBOSE[4533] logger.c:   == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/544-b7a42b80' in macro 'exten-vm'
Nov  7 11:59:32 DEBUG[4533] pbx.c: Spawn extension (macro-dial,s,10) exited non-zero on 'SIP/544-b7a42b80'
Nov  7 11:59:32 VERBOSE[4533] logger.c:   == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/544-b7a42b80'
Nov  7 11:59:32 DEBUG[4533] pbx.c: Launching 'Macro'
Nov  7 11:59:32 DEBUG[4533] pbx.c: Launching 'ResetCDR'
(Cancels are just where I hung up after it connected and started to ring at the other end)

Ive googled / tinkered for hours to try and fix this but having no joy.

Any suggestions would be greatly appreciated!

Thanks

Who is online

Users browsing this forum: No registered users and 1 guest

Copyright 2004 - 2017, iNet Telecoms® Ltd. All rights reserved.


cron