[Asterisk-Users] VoIP LD carriers

Jim Archer jim at archer.net
Sun Mar 9 23:15:40 MST 2003


Thanks!!!!

I'll try this right now...


--On Sunday, March 09, 2003 10:09 PM -0800 John Todd <jtodd at loligo.com> 
wrote:

> My example had a Macro to do the dialing towards iconnect, since I got
> really tired of typing in the same dial routines (obviousl, that's what
> Macros are intended to replace.)
>
> So let's simplify my example and your configs.  You have some extra stuff
> in there that probably you should not have on your "first try" at getting
> it working.
>
> In sip.conf:
>
> [iconnect]
> type=friend
> username=13121234567
> password=1234
> host=sipauth.deltathree.com
>
>
> In your extensions conf:
>
> exten => _91.,1,Dial,(SIP/${EXTEN:1}@iconnect)
>
>
> That should do it.  Change your matching string to other stuff after you
> get successful calls going outbound; don't get fancy with matching
> strings until the fundamentals of the call are solid.
>
> The ${EXTEN:1} string means "dial the number typed but remove the first
> digit", since iconnect doesn't want the leading "9" character.
>
> Hint: run "tethereal port sip" in another window somewhere and watch what
> goes by on the network.  If you don't see any transmissions to the
> deltathree.com server, something is still munged in your extensions.conf
> file.
>
>
>
> JT
>
>
>
>> Thanks!
>>
>>
>> Now, I am a bit confused...
>>
>> The example has (in sip.conf):
>>
>> [iconnect]
>> type=friend
>> secret=stillnotmypassword
>> username=12691220
>> host=sipauth.deltathree.com
>>
>> and in extensions.conf:
>>
>> [macro-dialiconnect]
>> exten => s,1,SetCallerID(${ICONNECT1})
>> exten => s,2,SetCIDName(${MYNAME})
>> exten => s,3,Dial(SIP/${ARG1}@iconnect,${ARG2})
>> exten => s,4,Playback(invalid)
>> exten => s,5,Hangup
>> exten => s,104,Playtones(busy)
>> exten => s,105,Wait,30
>> exten => s,106,Hangup
>>
>>
>>
>> In my sip.conf I have (mostly from another example):
>>
>> [iconnect]
>> type=friend
>> username=12345678
>> password=1234
>> host=sipauth.deltathree.com
>> callerid="My COmpany" <1 222 333 4444>
>>
>>
>> In extensions.conf I have:
>>
>> exten => _91NXXNXXXXXX,1,StripMSD,1
>> exten => _1NxxNXXXXXX,2,Dial,SIP/iconnect
>>
>>
>> When I dial, it seemd to connect to icinnect, but I never hear any
>> riunging and it never actually goes thorugh.  If I call my cell
>> phone, or my friends VM, it never answers.
>>
>> What did I do wrong?
>>
>> Thanks...
>>





More information about the asterisk-users mailing list