[Asterisk-Users] SIP call problem

mohamed kerbachi kerbachi_m at yahoo.fr
Fri May 26 01:56:47 MST 2006


Hello,

I have problem to  make SIP calls, i have asterisk +
PC InterP4 + Digium TDM400P


here is the content of the sip.conf:

[SIP_PROVIDER]
type=peer
fromuser=testcomclient
username=testcomclient
secret=testr
host=IP_SIP_PROVIDER
;dtmfmode=rfc2833
context=interne
canreinvite=no
;allerid=Beer
disallow=all
allow=ulaw                    
allow=gsm
allow=g723.1                   ; Asterisk only
supports g723.1 pass-thru!
allow=g729


The extensions.conf:

[interne]
ignorepat => 9
exten => 9,1,Dial(SIP/15111111111 at SIP_PROVIDER)
exten => 9,2,Hungup

So when i take the phone connected to FXO (ZAP/3) and
tape “9” asterisk initiate the sip call but does not
succeed.

*CLI> sip show registry
Host                            Username       Refresh
State
IP_SIP_PROVIDER:5060      testcomclien        45
Registered
*CLI>


*CLI>     -- Starting simple switch on 'Zap/3-1'
May 26 09:49:02 DEBUG[3242]: chan_zap.c:4242 zt_read:
DTMF digit: 9 on Zap/3-1
May 26 09:49:02 DEBUG[3242]: chan_zap.c:1384
zt_enable_ec: No echocancellation requested
    -- Executing Dial("Zap/3-1",
"SIP/15111111111 at SIP_PROVIDER") in new stack
May 26 09:49:02 DEBUG[3242]: chan_sip.c:1309
create_addr: Setting NAT on RTP to 0
May 26 09:49:02 DEBUG[3242]: chan_sip.c:1487 sip_call:
Outgoing Call for 15111111111
May 26 09:49:02 DEBUG[3242]: chan_sip.c:1592
update_user_counter: 15111111111 is not a local user
    -- Called 15111111111 at SIP_PROVIDER
May 26 09:49:03 DEBUG[3227]: chan_sip.c:822 __sip_ack:
Acked pending invite 102
May 26 09:49:03 DEBUG[3227]: chan_sip.c:840 __sip_ack:
Stopping retransmission on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169' of
Request 102: Found
May 26 09:49:03 DEBUG[3227]: chan_sip.c:872
__sip_semi_ack: (Provisional) Stopping retransmission
(but retaining packet) on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169'
Request 103: Found
May 26 09:49:05 DEBUG[3227]: chan_sip.c:872
__sip_semi_ack: (Provisional) Stopping retransmission
(but retaining packet) on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169'
Request 103: Found
May 26 09:49:05 DEBUG[3227]: chan_sip.c:2780
process_sdp: Oooh, we need to change our formats since
our peer supports only 0x1 (g723) and not 0x4 (ulaw)
May 26 09:49:05 NOTICE[3227]: channel.c:1757
ast_set_read_format: Unable to find a path from g723
to ulaw
May 26 09:49:05 NOTICE[3227]: channel.c:1724
ast_set_write_format: Unable to find a path from ulaw
to g723
    -- SIP/SIP_PROVIDER-77e1 is making progress
passing it to Zap/3-1
May 26 09:49:05 DEBUG[3242]: chan_zap.c:4479
zt_indicate: Received AST_CONTROL_PROGRESS on Zap/3-1
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 DEBUG[3227]: chan_sip.c:872
__sip_semi_ack: (Provisional) Stopping retransmission
(but retaining packet) on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169'
Request 103: Found
    -- SIP/SIP_PROVIDER-77e1 is ringing
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:05 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:06 WARNING[3242]: chan_sip.c:1829
sip_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 4/4)
May 26 09:49:06 WARNING[3242]: chan_zap.c:4367
zt_write: Cannot handle frames in 1 format
May 26 09:49:06 WARNING[3242]: app_dial.c:369
wait_for_answer: Unable to forward frame
May 26 09:49:06 DEBUG[3242]: chan_sip.c:1716
sip_hangup: update_user_counter(15111111111) -
decrement outUse counter
May 26 09:49:06 DEBUG[3242]: chan_sip.c:1592
update_user_counter: 15111111111 is not a local user
May 26 09:49:06 DEBUG[3242]: app_dial.c:1052
dial_exec: Exiting with DIALSTATUS=CANCEL.
  == Spawn extension (default, 9, 1) exited non-zero
on 'Zap/3-1'
May 26 09:49:06 DEBUG[3242]: chan_zap.c:2164
zt_hangup: Hangup: channel: 3 index = 0, normal = 21,
callwait = -1, thirdcall = -1
May 26 09:49:06 DEBUG[3242]: chan_zap.c:2577
zt_setoption: Set option TDD MODE, value: OFF(0) on
Zap/3-1
May 26 09:49:06 DEBUG[3242]: chan_zap.c:1352
update_conf: Updated conferencing on 3, with 0
conference users
    -- Hungup 'Zap/3-1'
May 26 09:49:06 DEBUG[3227]: chan_sip.c:822 __sip_ack:
Acked pending invite 103
May 26 09:49:06 DEBUG[3227]: chan_sip.c:840 __sip_ack:
Stopping retransmission on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169' of
Request 103: Found
May 26 09:49:06 DEBUG[3227]: chan_sip.c:840 __sip_ack:
Stopping retransmission on
'3eb3b5d102a12e1f57a33ac13235ac9f at 82.101.145.169' of
Request 103: Found
May 26 09:49:06 DEBUG[3227]: chan_sip.c:1592
update_user_counter: 15111111111 is not a local user


Any suggestion is welcome !
thx


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com



More information about the asterisk-users mailing list