Ok. I am confused. I now have conflicting answers to my question: Do you need to use a special phone to use SIP? My setup is X100P and TDM10B. I would like to connect to iConnectHere, which uses SIP. Has anybody done this before (using similar equipment to what I have listed above)? And if it is not possible, could somebody please explain why. I don't understand why this wouldn't work. ----[Extra Information]---------------------------------------------------------------------------- My current setup: On computer 192.168.10.50 **sip.conf*** [general] port=5060 bindaddr=0.0.0.0 context=default allow=gsm register=>comp1:mysecret@192.168.10.51 [comp2] type=friend username=comp2 secret=bigsecret host=192.168.10.51 **extensions.conf*** [general] static=yes writeprotect=no [default] exten=>_221,1,Dial,SIP/comp2 -================On computer 192.168.10.51 **sip.conf*** [general] port=5060 bindaddr=0.0.0.0 context=default allow=gsm register=>comp2:bigsecret@192.168.10.50 [comp1] type=friend username=comp1 secret=mysecret host=192.168.10.50 **extensions.conf*** [general] static=yes writeprotect=no [default] exten=>_220,1,Dial,SIP/comp1 ============================= Any help will be appreciated. Thanks _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
"Derek Beaumont" <jerkface2098@hotmail.com> writes:> Ok. I am confused. I now have conflicting answers to my question: > Do you need to use a special phone to use SIP? My setup is > X100P and TDM10B. > > I would like to connect to iConnectHere, which uses SIP. Has anybody > done this before (using similar equipment to what I have listed above)?If you want a stand-alone phone (one that isn't connected to your Asterisk box) you will need a device that speaks SIP (Cisco ATA-186, Cisco 7960, and Cisco 2600's with voice cards are what we use here.) However, any device that can communicate with Asterisk will work, since Asterisk will be the one speaking SIP to the "next hop." For instance, if you used the oss card interface thing to place a call through Asterisk to a SIP destination, it should just work. You can try turning on SIP debugging to see what's happening: sip debug
Asterisk is a transcoder. This means that calls to and from any channel type can be piped into any other channel type*. This means that your TDM10B has output that gets piped into Asterisk, and then depending on what you dial and what your dialplan looks like, it can be sent out to another Zap channel (like your X100P, to the phone company) or through a SIP channel (like to Iconnecthere.com) Yes, others use Iconnecthere.com's service (like me, for example.) I also gateway my calls out through Nufone and my own PRI terminations in certain area codes; no special phone required - this is all done through the dialplan. You could (as an example of crazy and meaningless dialplans) pipe your X100P through SIP so that anytime someone calls your home number, they are automatically connected to your cellphone through Iconnecthere.com's long distance service. Try reducing the complexity of your configuration down to a single machine with the TDM10B hooked up to it. Read the examples that others have given for getting iconnecthere.com to work (see my now-tedious messages with references to my website with my own example files on it.) JT * (as long as you have the appropriate codecs, which at this time are the "industry default" of G.711u or G.711a, with G.729 as a purchasable option ($10 per channel). Asterisk also uses GSM (non-Cisco) and ADPCM, which are used in inter-asterisk and other situations.)>Ok. I am confused. I now have conflicting answers to my question: >Do you need to use a special phone to use SIP? My setup is >X100P and TDM10B. > >I would like to connect to iConnectHere, which uses SIP. Has anybody >done this before (using similar equipment to what I have listed above)? > >And if it is not possible, could somebody please explain why. I >don't understand >why this wouldn't work. > >----[Extra >Information]---------------------------------------------------------------------------- >My current setup: > >On computer 192.168.10.50 >**sip.conf*** >[general] >port=5060 >bindaddr=0.0.0.0 >context=default >allow=gsm >register=>comp1:mysecret@192.168.10.51 > >[comp2] >type=friend >username=comp2 >secret=bigsecret >host=192.168.10.51 > >**extensions.conf*** >[general] >static=yes >writeprotect=no > >[default] >exten=>_221,1,Dial,SIP/comp2 > > >-================>On computer 192.168.10.51 >**sip.conf*** >[general] >port=5060 >bindaddr=0.0.0.0 >context=default >allow=gsm >register=>comp2:bigsecret@192.168.10.50 > >[comp1] >type=friend >username=comp1 >secret=mysecret >host=192.168.10.50 > >**extensions.conf*** >[general] >static=yes >writeprotect=no > >[default] >exten=>_220,1,Dial,SIP/comp1 > >=============================> >Any help will be appreciated. >Thanks > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users
On Fri, 9 May 2003, Derek Beaumont wrote:> Ok. I am confused. I now have conflicting answers to my question: > Do you need to use a special phone to use SIP? My setup is > X100P and TDM10B. > > I would like to connect to iConnectHere, which uses SIP. Has anybody > done this before (using similar equipment to what I have listed above)? > > And if it is not possible, could somebody please explain why. I don't > understand > why this wouldn't work.You want Asterisk to be a client of iConnectHere? Yes - that's easily possible. Put a "peer" entry in your sip.conf Probably, put a "register =>" for the peer in your sip.conf Add Dial(SIP/...) entries in your extensions.conf For example: sip.conf [iconnecthere] type=peer host=sipauth.deltathree.com username=youruserid secret=yourpword If you have incoming number you'll also need a "register". In extensions.conf you now Dial(SIP/number@iconnecthere) Regards, Steve
See JTodd's sample configs for how he does it. The dialplan works for analog phones hooked up to * as well. http://www.loligo.com/asterisk He has a few sets of configs there that should provide some working examples. (Sorry for not answering your offlist email, incredibly busy and don't have the time really to help with more than a pointer like this at the moment) On Fri, 2003-05-09 at 09:51, Derek Beaumont wrote:> Ok. I am confused. I now have conflicting answers to my question: > Do you need to use a special phone to use SIP? My setup is > X100P and TDM10B. > > I would like to connect to iConnectHere, which uses SIP. Has anybody > done this before (using similar equipment to what I have listed above)? > > And if it is not possible, could somebody please explain why. I don't > understand > why this wouldn't work. > > ----[Extra > Information]---------------------------------------------------------------------------- > My current setup: > > On computer 192.168.10.50 > **sip.conf*** > [general] > port=5060 > bindaddr=0.0.0.0 > context=default > allow=gsm > register=>comp1:mysecret@192.168.10.51 > > [comp2] > type=friend > username=comp2 > secret=bigsecret > host=192.168.10.51 > > **extensions.conf*** > [general] > static=yes > writeprotect=no > > [default] > exten=>_221,1,Dial,SIP/comp2 > > > -================> On computer 192.168.10.51 > **sip.conf*** > [general] > port=5060 > bindaddr=0.0.0.0 > context=default > allow=gsm > register=>comp2:bigsecret@192.168.10.50 > > [comp1] > type=friend > username=comp1 > secret=mysecret > host=192.168.10.50 > > **extensions.conf*** > [general] > static=yes > writeprotect=no > > [default] > exten=>_220,1,Dial,SIP/comp1 > > =============================> > Any help will be appreciated. > Thanks > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- William Walsh <william@wxw.org> Jabber: william@wxw.biz