hi:
I have asterisk box which i set it up to receive calls from outside through IAX2 and send them again to Teles gateway “voip gateway” using sip ,so asterisk box is doing bridging between iax and sip ,but when calls is being answered i hear 1 way voice for 2-3 seconds then call hangup by itself,and i got this message :
– Executing [002XXXXXXXX@local:1] Dial(“IAX2/mohm1-7745”, “SIP/teles/002XXXXXXX”) in new stack
– Called teles/002XXXXXXXX
– SIP/teles-00000002 is ringing
– SIP/teles-0000002f is making progress passing it to IAX2/mohm1-225
[Sep 7 00:23:35] NOTICE[27604]: chan_sip.c:5639 process_sdp: No compatible codecs, not accepting this offer!
– SIP/teles-0000002f is making progress passing it to IAX2/mohm1-225
[Sep 7 00:23:42] NOTICE[27604]: chan_sip.c:5639 process_sdp: No compatible codecs, not accepting this offer!
– SIP/teles-0000002f answered IAX2/mohm1-225
[Sep 7 00:23:55] WARNING[27604]: chan_sip.c:2180 __sip_autodestruct: Autodestruct on dialog ‘1b9172143f7aecff644ef81145031b60@192.168.1.11’ with owner in place (Method: INVITE)
== Spawn extension (a2billing, 00201283859809, 1) exited non-zero on ‘IAX2/mohm1-225’
– Hungup ‘IAX2/mohm1-225’
this is my sip config :
[teles]
canreinvite=NO
host=192.168.1.16
insecure=invite
qualify=yes
type=peer
disallow=ALL
allow=g723
allow=g729
please need your help ,thanks a lot