[Home]

Summary:ASTERISK-19002: Using realtime sippeers: no value given for outbound proxy on line 0 of sip.conf
Reporter:David Cunningham (dcunningham)Labels:
Date Opened:2011-12-09 16:52:40.000-0600Date Closed:2011-12-11 19:36:31.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_realtime
Versions:1.8.7.1 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:CentOS release 5.5 (Final), calling from Polycom phone on firmware 3.3.2.Attachments:
Description:We've had reports of a warning "no value given for outbound proxy on line 0 of sip.conf" with customers on Asterisk 1.8.7.1. We are using realtime peers.
Can you please advise what other information you need? Thank you!

Relevant part of console trace:
<SIP/product-local-00000016>AGI Rx << EXEC Dial "SIP/17167654321@3-xx.xx.xx.xx,600,oL(86399000:60000)M(product-answered^0^1323444490.68)"
   -- AGI Script Executing Application: (Dial) Options: (SIP/17167654321@3-xx.xx.xx.xx,600,oL(86399000:60000)M(product-answered^0^1323444490.68))
      > Limit Data for this call:
      > timelimit      = 86399000 ms (86399.000 s)
      > play_warning   = 60000 ms (60.000 s)
      > play_to_caller = yes
      > play_to_callee = no
      > warning_freq   = 0 ms (0.000 s)
      > start_sound    =
      > warning_sound  = timeleft
      > end_sound      =
 == Using UDPTL CoS mark 5
[Dec  9 10:28:10] WARNING[6045]: chan_sip.c:26699 build_peer: no value given for outbound proxy on line 0 of sip.conf.  == Using SIP RTP CoS mark 5

Line in extconfig.conf:
sippeers => mysql,product,sippeers

mysql> describe sippeers;
+---------------+--------------+------+-----+-----------------------------------------------------+----------------+
| Field         | Type         | Null | Key | Default                                             | Extra          |
+---------------+--------------+------+-----+-----------------------------------------------------+----------------+
| id            | int(11)      | NO   | PRI | NULL                                                | auto_increment |
| peer          | int(11)      | NO   | MUL | NULL                                                |                |
| name          | varchar(80)  | NO   | MUL | NULL                                                |                |
| host          | varchar(31)  | NO   |     | NULL                                                |                |
| ipaddr        | varchar(31)  | NO   |     |                                                     |                |
| port          | int(11)      | NO   |     | 5060                                                |                |
| type          | varchar(6)   | NO   |     | peer                                                |                |
| context       | varchar(100) | NO   |     | from-external                                       |                |
| nat           | varchar(5)   | NO   |     | no                                                  |                |
| canreinvite   | varchar(5)   | NO   |     | no                                                  |                |
| disallow      | varchar(100) | NO   |     | all                                                 |                |
| allow         | varchar(255) | NO   |     | alaw;ulaw;gsm;g729;g726;adpcm;ilbc;lpc10;speex;slin |                |
| dtmfmode      | varchar(7)   | NO   |     | rfc2833                                             |                |
| insecure      | varchar(100) | NO   |     | port,invite                                         |                |
| qualify       | varchar(3)   | NO   |     | no                                                  |                |
| username      | varchar(100) | NO   |     |                                                     |                |
| fromuser      | varchar(100) | NO   |     |                                                     |                |
| secret        | varchar(100) | NO   |     |                                                     |                |
| lastms        | int(11)      | NO   |     | 0                                                   |                |
| outboundproxy | varchar(31)  | NO   |     |                                                     |                |
| regseconds    | varchar(11)  | NO   |     |                                                     |                |
| defaultuser   | varchar(10)  | NO   |     |                                                     |                |
| fullcontact   | varchar(35)  | NO   |     |                                                     |                |
| regserver     | varchar(20)  | NO   |     |                                                     |                |
| useragent     | varchar(20)  | NO   |     |                                                     |                |
+---------------+--------------+------+-----+-----------------------------------------------------+----------------+
25 rows in set (0.00 sec)
Comments:By: Richard Mudgett (rmudgett) 2011-12-09 18:40:00.974-0600

You are not giving a value to the outboundproxy parameter.  Since you mention this is realtime of course there is not going to be a line number associated with it.

That message is misleading since the sip.conf filename is hard coded into the message.

There are several other messages in build_peer() and reload_config() that make the same assumption.

By: David Cunningham (dcunningham) 2011-12-11 19:36:10.767-0600

Thank you for the reply1. This can be closed.