Summary: | ASTERISK-04270: Asterisk connect to false proxy when it opens a call | ||
Reporter: | Dieter Ferdinand (dferdi) | Labels: | |
Date Opened: | 2005-05-25 06:44:46 | Date Closed: | 2011-06-07 14:10:48 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/Transfers |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) debug.log ( 1) sip.conf | |
Description: | hello, i habe a big problem with one of my providers. i can successfull registration to t-online (i make some changed in the register function to get a registration, but i change no variables, only the sended sip-header), but a call goes to t-online.de (=www.t-online.de) as proxy and not to the configured proxy tel.t-online.de why does asterisk use the false proxy-server ? use it the domain from the mail-address, which i must use to register, instead of the address of the configured sip-proxy ? for register, it use the right sip-proxy. a change of the user in the outgoing defination in sip.conf from t-online.de to tel.t-online.de have no effect. i will search the function in the source, to correct it. but this can't be normal. goodby ****** ADDITIONAL INFORMATION ****** register => xxxxxxx@t-online.de:xxxxx@tel.t-online.de/sipnr [t-online.de] type=peer secret=xxxxxxx username=xxxxx@t-online.de host=tel.t-online.de fromuser=xxxx@t-online.de fromdomain=tel.t-online.de nat=yes insecure=very nat=no | ||
Comments: | By: twisted (twisted) 2005-05-25 16:39:54 if you pass the IP for the host variable, does that make a difference? By: Dieter Ferdinand (dferdi) 2005-05-25 17:57:11 hello, it makes no difference. i uses the ip for the host, i changed all t-online.de to tel.t-online.de except the mail-adress for authentication. it don't work. asterisk use always the ip from webserver and not the ip from sip-proxy. i find no configuration parameter, which change this. i think, asterisk uses the e-mail-domain from user identification as sip-proxy and this is false. in this case, there are two @-chars in the register-line and it seems, that is a problem. i have only one provider, which uses a e-mail as login-name. goodby By: Olle Johansson (oej) 2005-05-26 15:06:37 It's not an e-mail address, it's a SIP user identifier :-) By: Olle Johansson (oej) 2005-05-26 15:08:24 Need to see your dial string in the dial plan and the [general] section of sip.conf By: Dieter Ferdinand (dferdi) 2005-05-27 01:48:24 hello, t-online use the e-mail-address as sip-id. it is possible, to dial with the number or the user id, but this problem is with both. i have changed all t-online-entries to tel.t-online.de, also the sip-out-defination-name, but asterisk connects to t-online.de (=www.t-online.de) and it is not possible to change the domain in the userid for registration. goodby exten => 9700,1,Dial(SIP/number@t-online.de,60) exten => 9701,1,Dial(SIP/user@t-online.de@t-online.de,60) sip.conf is uploaded By: Olle Johansson (oej) 2005-06-04 07:11:05 This is a configuration issue, not a bug report. You need to configure a peer and use that peer in the registration line, with a fromuser and fromdomain setting. Check the mailing list and the wiki for the Broadvoice configuration examples. THank you. By: Olle Johansson (oej) 2005-06-04 16:21:10 --- |