All pastes #25291 Raw Edit

Something

public ini v1 · immutable
#25291 ·published 2005-10-12 02:54 UTC
rendered paste body
Hi, I've got an asterisk CVS HEAD up and running, and it works fine for calls between extensions and also for calling external numbers (local, national, international, mobile), but the problem I'm having is for calling my engin number from outside. I've got X-Lite softphone running for testing, before I start playing around with real handsets.everytime I ring my engin number from outside, I see this on the CLI:-- Executing Answer("SIP/202.61.12.180-0818ae60", "") in new stack-- Executing Dial("SIP/202.61.12.180-0818ae60", "SIP/fserto|20|tr") in new stack-- Called fserto-- SIP/fserto-7be1 is ringing-- SIP/fserto-7be1 answered SIP/8683665-3b92and as soon as I answer the call on X-Lite (yeah, it rings, and even shows the caller ID), it hangs up (Hung up on X-Lite screen). So I can never answer calls.my configuration details:sip.conf:[general]context=defaultport=5060bindaddr=0.0.0.0externip = firewall/gw_ipoutside_addr = firewall/gw_iplocalnet = 192.168.10.0/255.255.255.0srvlookup=yestos=0x10maxexpiry=3600defaultexpiry=600allow=g729allow=ulawallow=alawmusiconhold=defaultmusicclass=defaultnat=yesregister => 028208xxxx:xxxxxxx@byo.engin.com.au[engin]callerid="Memetrics" <028208xxxx>type=friendhost=byo.engin.com.aufromdomain=voice.mibroadband.com.auusername=028208xxxxsecret=xxxxxxxfromuser=028208xxxxnat=yesauth=md5disallow=allallow=g729allow=ulawallow=alawcontext=memetricsmusiconhold=defaultdtmfmode=rfc2833progressinband=noreinvite=nocanreinvite=noqualify=yesrealm=mobileinnovations.com.auinsecure=very[fserto]type=friendusername=fsertosecret=pwd_fsertohost=dynamiccontext=memetricsextensions.conf:[general]static=yeswriteprotect=no[globals]CONSOLE => Console/dspIAXINFO => guestTRUNK => Zap/g2TRUNKMSD => 1[default]include => memetrics[memetrics]exten => s,1,Answerexten => s,2,Dial(SIP/fserto,20,tr)exten => 0833,1,Dial(SIP/fserto);local callsexten => _XXXXXXXX,1,Dial(SIP/02${EXTEN}@engin,100,T)exten => _XXXXXXXX,2,Congestionexten => _XXXXXXXX,102,Busy;national callsexten => _0[2378]XXXXXXXX,1,Dial(SIP/${EXTEN}@engin,100,T)exten => _0[2378]XXXXXXXX,2,Congestionexten => _0[2378]XXXXXXXX,102,Busy;calls to mobilesexten => _04XXXXXXXX,1,Dial(SIP/${EXTEN}@engin,100,T)exten => _04XXXXXXXX,2,Congestionexten => _04XXXXXXXX,102,Busy;internation callsexten => _0011XX.,1,Dial(SIP/${EXTEN}@engin,100,T)exten => _0011XX.,2,Congestionexten => _0011XX.,102,BusyI know I don't need those values defined on [globals] but that's not the case.any help would be more than appreciated!cheers,Fernandofrom full logfile:Oct 12 12:51:52 DEBUG[7612] acl.c: ##### Testing 202.61.13.40 with 192.168.10.0Oct 12 12:51:52 DEBUG[7612] chan_sip.c: Target address 202.61.13.40 is not local, substituting externipOct 12 12:51:52 DEBUG[7612] chan_sip.c: Checking SIP call limits for device Oct 12 12:51:52 DEBUG[7612] chan_sip.c: build_route: Contact hop: <sip:5QwWRSUn8HQPs2BPCuzwKzvFUK8KCEeZTQ.@202.61.13.40:5060>Oct 12 12:51:52 VERBOSE[7612] logger.c:     -- Executing Answer("SIP/202.61.12.180-08199870", "") in new stackOct 12 12:51:52 VERBOSE[7612] logger.c:     -- Executing Dial("SIP/202.61.12.180-08199870", "SIP/fserto|20|tr") in new stackOct 12 12:51:52 DEBUG[7612] chan_sip.c: Setting NAT on RTP to 0Oct 12 12:51:52 DEBUG[7612] acl.c: ##### Testing 192.168.10.185 with 192.168.10.0Oct 12 12:51:52 DEBUG[7612] chan_sip.c: Outgoing Call for fsertoOct 12 12:51:52 VERBOSE[7612] logger.c:     -- Called fsertoOct 12 12:51:52 DEBUG[7612] channel.c: Driver for channel 'SIP/202.61.12.180-08199870' does not support indication 3, emulating itOct 12 12:51:52 WARNING[7612] channel.c: Unable to find a codec translation path from g729 to slinOct 12 12:51:52 WARNING[7612] indications.c: Unable to set 'SIP/202.61.12.180-08199870' to signed linear format (write)Oct 12 12:51:52 DEBUG[7612] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50dec9dc5d3f3c8c5b032e0b12fee392@192.168.10.20' Request 102: FoundOct 12 12:51:52 DEBUG[7612] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50dec9dc5d3f3c8c5b032e0b12fee392@192.168.10.20' Request 102: FoundOct 12 12:51:52 VERBOSE[7612] logger.c:     -- SIP/fserto-e8f8 is ringingOct 12 12:51:52 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633508 (expecting >= 485982105)Oct 12 12:51:53 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633508 (expecting >= 485982105)Oct 12 12:51:54 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633508 (expecting >= 485982105)Oct 12 12:51:54 DEBUG[7612] chan_sip.c: Acked pending invite 102Oct 12 12:51:54 DEBUG[7612] chan_sip.c: Stopping retransmission on '50dec9dc5d3f3c8c5b032e0b12fee392@192.168.10.20' of Request 102: Match FoundOct 12 12:51:54 DEBUG[7612] chan_sip.c: Oooh, we need to change our formats since our peer supports only 0x4 (ulaw) and not 0x100 (g729)Oct 12 12:51:54 WARNING[7612] channel.c: Unable to find a codec translation path from ulaw to g729Oct 12 12:51:54 WARNING[7612] channel.c: Unable to find a codec translation path from ulaw to g729Oct 12 12:51:54 DEBUG[7612] chan_sip.c: build_route: Contact hop: <sip:fserto@192.168.10.185:5060>Oct 12 12:51:54 VERBOSE[7612] logger.c:     -- SIP/fserto-e8f8 answered SIP/202.61.12.180-08199870Oct 12 12:51:54 WARNING[7612] channel.c: No path to translate from SIP/202.61.12.180-08199870(256) to SIP/fserto-e8f8(4)Oct 12 12:51:54 WARNING[7612] app_dial.c: Had to drop call because I couldn't make SIP/202.61.12.180-08199870 compatible with SIP/fserto-e8f8Oct 12 12:51:54 DEBUG[7612] chan_sip.c: update_call_counter(fserto) - decrement call limit counterOct 12 12:51:54 VERBOSE[7612] logger.c:   == Spawn extension (default, s, 2) exited non-zero on 'SIP/202.61.12.180-08199870'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '0295551048'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '0295551048'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 's'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'default'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'SIP/202.61.12.180-08199870'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'SIP/fserto-e8f8'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'Dial'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'SIP/fserto|20|tr'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '2005-10-12 12:51:52'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '2005-10-12 12:51:52'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '2005-10-12 12:51:54'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '2'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '2'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'ANSWERED'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is 'DOCUMENTATION'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '(null)'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '1129085512.14'Oct 12 12:51:54 DEBUG[7612] pbx.c: Function result is '(null)'Oct 12 12:51:54 DEBUG[7612] chan_sip.c: update_call_counter() - decrement call limit counterOct 12 12:51:54 DEBUG[7612] chan_sip.c: Stopping retransmission on '50dec9dc5d3f3c8c5b032e0b12fee392@192.168.10.20' of Request 103: Match FoundOct 12 12:51:56 DEBUG[7612] chan_sip.c: Auto destroying call '7337184232782edd76b9cf44283baeb4@127.0.0.1'Oct 12 12:51:56 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633508 (expecting >= 485982105)Oct 12 12:51:58 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633509 (expecting >= 485982105)Oct 12 12:51:59 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633509 (expecting >= 485982105)Oct 12 12:52:00 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633508 (expecting >= 485982105)Oct 12 12:52:00 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633509 (expecting >= 485982105)Oct 12 12:52:02 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633509 (expecting >= 485982105)Oct 12 12:52:04 VERBOSE[7612] logger.c:     -- parse_srv: SRV mapped to host mel-sbc02.byo.engin.com.au, port 5060Oct 12 12:52:04 DEBUG[7612] acl.c: ##### Testing 202.61.13.40 with 192.168.10.0Oct 12 12:52:04 DEBUG[7612] chan_sip.c: Target address 202.61.13.40 is not local, substituting externipOct 12 12:52:04 DEBUG[7612] chan_sip.c: Scheduled a registration timeout for byo.engin.com.au id  #795 Oct 12 12:52:04 DEBUG[7612] chan_sip.c: Stopping retransmission on '7337184232782edd76b9cf44283baeb4@127.0.0.1' of Request 151: Match FoundOct 12 12:52:04 DEBUG[7612] chan_sip.c: Registration successfulOct 12 12:52:04 DEBUG[7612] chan_sip.c: Cancelling timeout 795Oct 12 12:52:06 DEBUG[7612] chan_sip.c: Ignoring too old SIP packet packet 28633509 (expecting >= 485982105)