[Asterisk-Users] Troubles with Macro-stdexten and dial

Helder Rogério [MICROREDE] hrogerio at microrede.pt
Tue Feb 1 06:05:14 MST 2005


Hi!

Could someone give me a hand?

If I dial 200 for echo testing it works... Everytime I dial an extension ex.
505 get the error below....
In this example it was from 508>505 a Xlite Pro to a TA.

I believe it has something to do with the way i'm executing the command dial
but I use the "standart" that comes in the samples from asterisk.



*CLI>     -- Executing Macro("SIP/508-226d", "stdexten|SIP/505") in new
stack
    -- Executing Dial("SIP/508-226d", "|60") in new stack
Feb  1 12:34:04 WARNING[2250]: app_dial.c:504 dial_exec: Dial argument takes
format (technology1/number1&technology2/number2...|optional timeout)
  == Spawn extension (macro-stdexten, s, 1) exited non-zero on
'SIP/508-226d' in macro 'stdexten'
  == Spawn extension (default, 505, 1) exited non-zero on 'SIP/508-226d'


My extensions in extensions.conf:

exten => 200,1,Playback(demo-echotest) ; demonstração de qualidade
exten => 200,2,Echo  ; demonstração de qualidade
exten => 200,3,Playback(demo-echodone) ; demonstração de qualidade
exten => 200,4,Hangup  ; demonstração de qualidade
exten => 210887677,1,macro(stdexten,SIP/210887677) ; daniel - teste
exten => 502,1,macro(stdexten,SIP/502) ; João Portatil
exten => 505,1,macro(stdexten,SIP/505) ; Central PBX Microrede
exten => 506,1,macro(stdexten,SIP/506) ; Semortrade Router
exten => 510,1,macro(stdexten,SIP/510) ; PC Tiago escritorio

This is generated by the perl scripts on the addons.


Cumprimentos / Best regards,

Helder Rogério





More information about the asterisk-users mailing list