Hi,
Here is my sip.conf:
[04243]
type=friend
callerid=“XXXXXXXX” <04243>
qualify=200
nat=yes
host=dynamic
canreinvite=no
registertrying=yes
mailbox=4243@default
context=from-internal
Here is my extensions.conf:
[from-internal]
exten => _00001,1,Dial(Local/abc@from-internal)
exten => abc,1,Playback(vm-theperson)
exten => abc,n,Hangup
When I dial “00001” from phone “04243”, the “vm-theperson” should be played. However, it’s strange that nothing is played until I press a button on the dialpad, the audio is played during the sending of DTMF tone and keep silience until a button is pressed again. Here is the console log:
== Using SIP RTP CoS mark 5
— Executing 00001@from-internal:1 Dial(“SIP/04243-08418318”, “Local/abc@from-internal”) in new stack
— Called abc@from-internal
— Executing abc@from-internal:1 Playback(“Local/abc@from-internal-ad68;2”, “vm-theperson”) in new stack
— Local/abc@from-internal-ad68;1 answered SIP/04243-08418318
— <Local/abc@from-internal-ad68;2> Playing ‘vm-theperson.gsm’ (language ‘en’)
— Executing abc@from-internal:2 Hangup(“Local/abc@from-internal-ad68;2”, “”) in new stack
== Spawn extension (from-internal, abc, 2) exited non-zero on ‘Local/abc@from-internal-ad68;2’
== Spawn extension (from-internal, 00001, 1) exited non-zero on ‘SIP/04243-08418318’
Any clue?
Thanks.
Gordon