I am starting to use livevoip but when I configure they way they suggest, I see errors. [livevoip] exten =>_51NXXNXXXXXX,1,Dial(IAX2/myusername:mypassword@217.160.244.186/${EXTEN:1} ) exten => _51NXXNXXXXXX,2,Hangup I want the users to dial 5 to get a livevoip trunk. Here's the error message: -- Executing Dial("IAX2/livevoip@217.160.244.186:4569-6", "1000|15") in new stack Mar 31 22:31:07 WARNING[27589]: app_dial.c:920 dial_exec_full: Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout) Chris Mason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050331/500e82c1/attachment.htm
iax.conf [livevoip-out] type=peer host=217.160.244.186 auth=md5 context=livevoip-dialout callerid="aaa bbb" <(xxx) xxx-xxxx> username=username secret=secret qualify=yes notransfer=yes ------------ exten => s,n,SetVar(LIVEVOIP=IAX2/username@livevoip-out) exten => s,n(dial1),Dial(${LIVEVOIP}/dialed-number|30) Chris Mason wrote:> I am starting to use livevoip but when I configure they way they > suggest, I see errors. > > [livevoip] > > exten > =>_51NXXNXXXXXX,1,Dial(IAX2/myusername:mypassword@217.160.244.186/${EXTEN:1}) > > exten => _51NXXNXXXXXX,2,Hangup > > I want the users to dial 5 to get a livevoip trunk. > > Here?s the error message: > > -- Executing Dial("IAX2/livevoip@217.160.244.186:4569-6", "1000|15") > in new stack > > Mar 31 22:31:07 WARNING[27589]: app_dial.c:920 dial_exec_full: Dial > argument takes format > (technology1/[device:]number1&technology2/[device:]number2...|optional > timeout) > > Chris Mason > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
> I am starting to use livevoip but when I configure they way they suggest, I see errors. > > [livevoip] > > exten =>_51NXXNXXXXXX,1,Dial(IAX2/myusername:mypassword@217.160.244.186/${EXTEN:1})snip> Heres the error message: > > -- Executing Dial("IAX2/livevoip@217.160.244.186:4569-6", "1000|15") in new stack > > Mar 31 22:31:07 WARNING[27589]: app_dial.c:920 dial_exec_full: Dial argument takes format > (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)I'm using the same formatted Dial statement as you're showing above. However, when I place a call, the CLI shows: -- Executing Dial("SIP/3000-a05a", "IAX2/myuserid:mypassword@217.160.244.186/140 21234567") in new stack -- Called myuserid:mypassword@217.160.244.186/14021234567 -- Call accepted by 217.160.244.186 (format gsm) -- Format for call is gsm If you compare my CLI output to yours, it suggests the actual Dial statement that you are executing is _not_ the one you've shown above. If you look closely at your CLI output above, you apparently are executing a dial statement that looks something like: exten =>_51NXXNXXXXXX,1,Dial(IAX2/livevoip,15/${CallerID}) and not the one shown.